home *** CD-ROM | disk | FTP | other *** search
/ TPUG - Toronto PET Users Group / TPUG Users Group CD / TPUG Users Group CD.iso / AMIGA / (A)TA / (A)TAP.ADF / Documentation / keepDOC < prev    next >
Text File  |  1988-10-23  |  12KB  |  330 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.                                G'day!
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.                             And welcome to...
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31. c
  32.  
  33.  
  34.  
  35.  
  36.  
  37.                                Keep v1.2
  38.  
  39.  
  40.  
  41.  
  42.  
  43.      Copyright Notice: Keep v1.2 is
  44. copyright (c) 1987, 1988 by Tim Grantham.
  45. It may not be sold for profit, nor altered in any way, without
  46. the permission of the author.
  47.  
  48.      Keep is an example of the latest in freely
  49. distributable programs: Bonusware. That means that you
  50. can copy this software as much as you want -- no donation is
  51. required or requested (I won't send them back if I get them,
  52. though. ;-) ) However, should you wish to have a copy of the
  53. source code, send me $10 and a blank disk and I will happily
  54. oblige. It's ugly code but it's only about the 15th program I've
  55. ever written, in any language on any computer, and I'm damn
  56. proud of it.
  57.  
  58.      I would appreciate any feedback users have about the
  59. program. I can be reached at:
  60.  
  61.      55 Sorauren Ave.
  62.      Toronto, Ontario
  63.      Canada. M6R 2C9
  64.      
  65.      (416) 535-1721
  66.      
  67.      or on:
  68.      
  69.      PeopleLink: AMTAG
  70.      BIX: dispatcher
  71.      GEnie: t.grantham
  72.      CIS: 71426,1646
  73.      
  74.      Keep those cards and letters coming, folks!
  75.      
  76.      
  77.            What you are reading is the documentation for
  78. version 1.2.  Those of you who simply wish to see what  has been
  79. added to version 1.1 can jump to the end where the changes are
  80. listed. I still recommend that you peruse the entire file:
  81. some of the changes require a little explanation. The new
  82. features are preceded by an asterisk (*).
  83.      
  84.      
  85.      Keep is a utility program for BBS and network
  86. junkies like myself who download messages in one large file and
  87. then read them off-line. Using only the mouse, you can drive
  88. through such files a message at a time, examine each at your
  89. leisure and tag those you wish to keep. When the entire
  90. file has been examined, keep goes through the file once
  91. more and stores those messages that have been so tagged. The
  92. original source file is left intact. *If a file with the same
  93. name as the current output file is found, Keep will
  94. give you the option of overwriting that file, appending to it
  95. (useful when building a file from several source files) or
  96. renaming the current output file. If no messages have been
  97. tagged for saving, the source file will be closed and the program
  98. will simply restart.
  99.  
  100.    Once running, Keep is (or should be)
  101. self-explanatory. A possible source of ambiguity is the gadgets
  102. at the top of the window. Selection of the arrows pointing up and
  103. down permit the user to page through the text of each message.
  104. The KEEP and DUMP
  105. gadgets tag the message and advance to the next message. You can 
  106. select the left-pointing arrow to back up to the previous
  107. message. Here you can change the fate of that message by
  108. selecting the appropriate KEEP
  109. or DUMP gadget. However, you must return to the
  110. current message by selecting the right-pointing arrow before you
  111. can move on to the next message in the file. *The `ghosted'
  112. slider indicates how far into the file you've gone. I call it the
  113. file gauge. :-)
  114.  
  115.   You can invoke Keep in a number of ways. If you are
  116. using the Workbench, you can simply click on the icon
  117. provided. If you are using the CLI, the recommended command is as
  118. follows:
  119.  
  120.               run keep
  121.               
  122. Charlie Heath's excellent file requester is put up as soon as the
  123. program starts so that you can pick the file to be examined. In
  124. this case, the output file containing the kept messages
  125. will be stored by default in the current directory.
  126.  
  127. However, you can specify the source file from the CLI thusly:
  128.  
  129.               run keep message_file              
  130.               
  131. This will examine the file message_file and store the
  132. messages to be kept in the file
  133. message_file.kpt, in the current directory.
  134.  
  135. If you wish to cross directories, you can enter, for example
  136.  
  137.               run keep df1:message_file to
  138. df0:file_name              
  139.               
  140. The .kpt extension will be automatically
  141. appended to the destination file name. You should specify
  142. a destination file name. Simply entering, for example,
  143.  
  144.             run keep df1:message_file to df0:
  145.                            
  146. will cause the kept file to appear simply as
  147. .kpt on df0:.
  148.  
  149.  
  150.      Keep opens its own screen to the same size as the
  151. front-most screen. This is almost always the Workbench
  152. screen. Thus, if you are using morerows or interlace to
  153. get a larger display area, Keep will inherit it.
  154.  
  155.      Keep assumes that message files consist of lines
  156. of no more than 120 characters, ending with a carriage return
  157. (CR) and/or linefeed (LF). Any non-text character contained in
  158. the line before the CR/LF will be displayed, usually as a
  159. rectangle. CRs or LFs do not appear. They are, however, left
  160. intact.
  161.  
  162.      
  163.      You can at any time change the directory and name of the
  164. destination file by selecting To... under the
  165. Project menu.
  166.  
  167.     Skip terminates examination of the current file and
  168. saves what messages had been tagged up to that point. *It then
  169. saves all of the unread messages into another file in the same
  170. directory with a .splt extension, e.g.
  171. message_file.splt. (I'm afraid there is no option
  172. to change the name of this file.) Skip is useful if its
  173. 3:00 am and you can't plow through another 250 messages before
  174. you have to go to work in the morning. You can use Skip
  175. to split the file into read and unread messages; later you can
  176. pick up where you left off. You can even use the To...
  177. option to append the kept messages to the original
  178. .kpt file. A couple of caveats: the storing of the
  179. unread messages is pretty slow in this version. Be patient.
  180. Secondly, make sure there is enough room for the .splt file,
  181. or the program will terminate!
  182.  
  183.      Abort terminates examination of the current file
  184. completely and restarts the program.
  185.  
  186.      About provides some speculation as to the
  187. inspiration for the Guru's meditations...
  188.  
  189.      *Tiny closes the Keep screen and puts up
  190. a tiny window on the Workbench screen. This conserves
  191. CHIP memory should you wish to switch to another program but
  192. still leave Keep in memory. Keep also
  193. provides support for users of the Tiny  Window Manager
  194. created by Nick Sullivan of The Transactor for the
  195. Amiga. If TWM is running, it will `gather up', so
  196. to speak, Keep's tiny window into itself, along with
  197. any other tiny windows created by other programs that can make
  198. themselves clients of TWM.
  199.      To bring the Keep screen back up, simply click the
  200. mouse inside the tiny window. You will then find yourself exactly
  201. where you were when you put up the tiny window. It's probably not
  202. a good idea to select the Tiny option while the program
  203. is storing the messages marked for saving.
  204.  
  205.      Quit exits the program.
  206.      
  207.      
  208.      Keep does not have to be used exclusively for
  209. information services. It can work with any text database that
  210. uses a repeating header at the beginning of each record and
  211. fields of no more than 120 characters delimited with CR and/or
  212. LF. It looks for a search string of five characters or
  213. less -- the shorter the string, the faster the search. You can
  214. see which ones I have chosen: each time a network gadget is
  215. selected in the service requester, the First line search
  216. word string gadget is updated. You can click on this gadget
  217. to customize the search string.
  218.  
  219.      *Special note to Usenet-ers: Because the headers on
  220. Usenet/Pnet/Bitnet vary widely, the search string I have provided
  221. may not be suitable. Use the string gadget to make the program
  222. look for a string unique to your particular message header.
  223.      
  224.      
  225.      If the program encounters a read error in the message file,
  226. it will save those messages currently tagged and offer to restart
  227. the program.
  228.      
  229.      If the program encounters an error during the writing of the
  230. destination file, it will close that file and save to ram:
  231. instead -- very handy if you just spent four hours going through
  232. 700+ messages. In this case, however, the default destination
  233. file name will be used.
  234.  
  235.  
  236. Enhancements to future versions of Keep may include:
  237.      
  238.      1. Much more attractive, Image-rendered
  239. gadgets.
  240.      
  241.      2. Command line and menu support for interlace.
  242.      
  243.      3. More polished mutual exclude in the service
  244. requester.
  245.      
  246.      4. Custom depth arrangement gadgets. The standard
  247. ones are there, although only the top two rows of pixels are
  248. visible. If you can grab those two rows, you can also slide the
  249. screen down.
  250.         
  251.      5. Support for other BBSs and networks. Does
  252. anybody know what. The Source uses for its message headers?
  253.         
  254.      6. Support for arbitrarily large files and
  255. messages. *In this     version, Keep is confined to
  256. files containing up to 4000 messages or records. In addition, it
  257. reads in no more than 1000 lines at a time. This latter aspect
  258. does not compromise the operation of the program should the
  259. message be larger than 1000 lines. It simply splits it into
  260. smaller pieces. If you want to save a complete message, save all
  261. the pieces.
  262.  
  263.      7. More elegant command line parsing.
  264.  
  265.      8. The ability to use the mouse to mark
  266. portions of messages for keeping.
  267.      
  268.      9. Word wrap for lines longer than 80 characters.
  269.      
  270.      10. Scrolling, rather than paging of text.
  271.      
  272.      Keep v2.0 will make use of the ARP
  273. library, including the ARP file requester. It will also
  274. most likely provide the ability to keep messages to
  275. multiple files at once and the ability to use the Pipe: device
  276. provided by some shell programs to permit a file to be
  277. kept even as it is being downloaded.
  278.      
  279.      
  280.      The shareware program blitzfonts works with
  281. Keep and is highly recommended.
  282.  
  283.  
  284.      I would like to thank Harvey Laser, Larry Pahlman and DARRYL
  285. H for testing the various versions of this program. I especially
  286. would like to thank the real Nick Sullivan, editor of
  287. The Transactor for the Amiga for his endlessly patient
  288. assistance. Keep is a direct descendant, several
  289. generations removed, of a program Nick wrote in CBM Basic
  290. and 6502 ML for the C64 and PET 8032.
  291.  
  292.      
  293.      My greatest debt is to my wife Cate and my son Alex, for
  294. their love.
  295.      
  296. Tim Grantham
  297. April 26, 1988.
  298.  
  299.  
  300. New features of Keep v1.2:
  301.  
  302.        1. A proportional gadget `file gauge' that shows you how
  303. far into the source file you are.
  304.                
  305.        2. The Skip menu option now will save the
  306. unexamined portion of the source file to a separate file, for
  307. later perusal.
  308.                
  309.        3. Keep now checks to see if a destination file
  310. already exists and if so, it provides an opportunity to append to
  311. it, to overwrite it or to change the name of the current output.
  312.        
  313.        4. Keep is now runnable from the Workbench.
  314. Check out the icon!
  315.        
  316.        5. If no messages have been marked for keeping,
  317. no file will be opened -- Keep will simply restart.
  318. Before, Keep created an empty file.
  319.                
  320.        6. Keep now can handle files containing up to
  321. 4000 messages. It will not recover nicely if this number
  322. is exceeded but I find it hard to imagine a file of such a size.
  323. You could always use the Skip option to gnaw on it a
  324. piece at a time.
  325.                
  326.        7. Keep now has a tiny window option, and
  327. supports Nick Sullivan's Tiny Window Manager . This
  328. helps conserve CHIP memory.
  329.                
  330.